<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Upload Messages</title>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>
Back to <a 	href="/index.html">Guestbook</a>
<br />
<br />
<form name="fileForm" action="/download" method="post" enctype="multipart/form-data">
<table width="600px" border="0" cellspacing="0">
	<tr>
		<th width="150px"></th>
		<th></th>
	</tr>
	<tr><td></td><td><input type="submit" name="submit" value="Download Messages"></input><span class="error">${form.messages.file1}</span></td>
	</tr>
</table>
<p class="${form.success ? 'success' : 'error'}">${form.messages.result}</p>
</form>
</body>